/**
 * Created by chenghuan on 16/4/25.
 */

var ngCordovaScan = angular.module('hyt.ngCordovaScan', []);

ngCordovaScan.factory('$cordovaScanner', function () {

    return {
        startScan:function(successCallback,errorCallback,options){
            hdoitscan.startScan(successCallback, errorCallback,options);
        }
    }
});
